<template>
  <div class="info box radial-gradient-demo">
    <div class="infocontainer">
      <img
        src="../assets/img/back.png"
        class="back"
        @click="$router.replace('/main')"
      />
      <div class="title">2023年下线项目</div>
      <div class="infobtnbox clmstart">
        <button
          class="infobtn"
          v-for="item in nowlist"
          :key="item.name"
          @click="toLink(item.link)"
        >
          {{ item.name }}
        </button>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      nowlist: [
        {
          name: "博世邀请函",
          link: "https://h5.mahelei.com/2023/Bosch/Ivt/index.html",
        },
        {
          name: "兰蔻邀约",
          link: "https://h5.mahelei.com/2023/Lancome/index.html",
        },
        {
          name: "国网新春唱歌比赛",
          link: "https://h5.mahelei.com/GWSing/Index",
        },
        {
          name: "轩尼诗晚宴导览",
          link: "https://h5.mahelei.com/2023/HenGuide/index.html",
        },
        {
          name: "美素佳儿-邀请函",
          link: "https://h5.mahelei.com/Friso2023",
        },
        {
          name: "美素佳儿-打卡",
          link: "https://h5.mahelei.com/Friso2023/Sign/index/point/point1/tag/xa49hv8",
        },
        {
          name: "美素佳儿-抽奖",
          link: "https://h5.mahelei.com/Friso2023/Prize/index/tag/xa49hv8",
        },
        {
          name: "倩碧-抽奖",
          link: "https://h5.mahelei.com/2023/Clinique",
        },
        {
          name: "丹尼斯-答题",
          link: "https://h5.mahelei.com/2023/Dainese",
        },
        {
          name: "兴业银行",
          link: "https://h5.mahelei.com/2023/IndustrialBank",
        },
        {
          name: "俄罗斯进博会",
          link: "https://h5.mahelei.com/2023/Russia",
        },
        {
          name: "上海投资-签到系统",
          link: "https://h5.mahelei.com/2023/Sign-guangzhou",
        },
        {
          name: "壳牌发布会-助力",
          link: "https://h5.mahelei.com/2023/Shell/zhuli",
        },
        {
          name: "壳牌发布会-全息视频",
          link: "https://h5.mahelei.com/2023/Shell/video",
        },
        {
          name: "明治告白小镇",
          link: "https://h5.mahelei.com/index.php/SoundRecording/Index",
        },
        {
          name: "盛思&万豪预约系统",
          link: "https://h5.mahelei.com/2023/Marriott",
        },
        {
          name: "盛思&万豪邀请函",
          link: "https://h5.mahelei.com/2023/mBe",
        },
        {
          name: "舒适达贺新春",
          link: "https://h5.mahelei.com/2023/Shushida",
        },
        {
          name: "复星进博会",
          link: "https://h5.mahelei.com/2023/Fosun",
        },
        {
          name: "联合利华苏州会议",
          link: "https://h5.mahelei.com/2023/UnileverSZ",
        },
        {
          name: "IQOO高校秋季赛",
          link: "https://h5.mahelei.com/index.php/Iqoov2/Index",
        },
        {
          name: "默克城市打卡",
          link: "https://h5.mahelei.com/2023/Merck",
        },
        {
          name: "牙齿虚拟仿真训练",
          link: "https://h5.mahelei.com/2023/Tooth",
        },
        {
          name: "Vivo白皮书",
          link: "https://h5.mahelei.com/2023/Vivo",
        },
      ],
    };
  },
  methods: {
    toLink(e) {
      setTimeout(() => {
        window.location.href = e;
      }, 300);
    },
  },
};
</script>
<style lang="less" scoped>
.info {
  overflow-y: scroll;
  .infocontainer {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    z-index: 3;
    .title {
      position: absolute;
      top: 6rem;
      width: 100%;
      font-size: 2.5rem;
      font-weight: bolder;
      color: #000;
      text-align: center;
    }
    .infobtnbox {
      width: 100%;
      height: auto;
      padding-top: 10rem;
      .infobtn:first-child {
        margin-top: 3rem;
      }
    }
  }
}
</style>
